Loading
Scriptbox
 VBScript Links 
 About VBscript 
 JavaScript Links 
 About JavaScript 
 Powershell Links 
 PSCRIPT the Script Launcher 
 PowerShell Shortcut Keys 
 About Powershell 
     VBScript
    JavaScript
    Powershell
Disclaimer
Contact
Latest 10 Scripts
Script search
  :: { Category } :: 0-9ABCDEFGHIJKLMNOPQRSTUVWXYZ
         

Search Options:  List  Port  Connector  Properties  

 Content of List Port Connector Properties.vbs
MD5 Hash: 7DEC792050D95AB960D79ADEE6310949
' Description: Returns information about port connectors installed on a computer.


On Error Resume Next

strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")

Set colItems = objWMIService.ExecQuery("Select * from Win32_PortConnector")

For Each objItem in colItems
Wscript.Echo "Connector Pinout: " & objItem.ConnectorPinout
For Each strConnectorType in objItem.ConnectorType
Wscript.Echo "Connector Type: " & strConnectorType
Next
Wscript.Echo "Description: " & objItem.Description
Wscript.Echo "External Reference Designator: " & _
objItem.ExternalReferenceDesignator
Wscript.Echo "Internal Reference Designator: " & _
objItem.InternalReferenceDesignator
Wscript.Echo "Name: " & objItem.Name
Wscript.Echo "Port Type: " & objItem.PortType
Wscript.Echo "Serial Number: " & objItem.SerialNumber
Wscript.Echo "Tag: " & objItem.Tag
Wscript.Echo "Version: " & objItem.Version
Next

   © 2008 - 2013 Boris Toll      :: Scripts available: 6.481 ::      :: scriptbox.toll.at ::      :: powered by www.toll.at ::
  Google Entries:n/a
  Yahoo Backlinks:n/a
  Live Backlinks:n/a
  del.icio.us Bookmarks:n/a
  Technorati Links:n/a